﻿@{
    ViewBag.Title = "ModifyEmployee";
    Layout = "~/Views/Shared/_LayoutDataContentTotalQuery.cshtml";
}
@section SectionCondition{
    <script type="text/javascript">
        function handleInit() {
            employeeModify();
            initDelEmployeeDialogConfirm();
            initDialogModifyEmployee();
        }

        function handleQueryButtonClick(ui) {
            employeeModifyButtonClk(ui);
        }

        function centerResize() {
            $('#employeesGrid').jqxGrid('refresh');
            $('#employeesGrid').jqxGrid('refreshdata');
        }
    </script>
    
    <div id="dialog-confirm" title="提示框">
        <p>
            <span class="ui-icon ui-icon-alert" style="float: left; margin: 0 7px 10px 0;"></span>
            确定要删除么?</p>
    </div>
   
    <div id="dialog-modifyEmployee" title="创建新员工">
        <form>
          <fieldset>
            <label for="onDepartment" >
                在部门 : </label>
            <input  type="text" name="onDepartment" id="input_onDepartment" class="text ui-widget-content ui-corner-all" />

            <label for="name" >
                姓名 : </label>
            <input  type="text" name="name" id="input_name" value="" class="text ui-widget-content ui-corner-all" />
   
            <label for="introduction" >
                介绍 : </label>
            <input type="text" name="introduction" id="input_introduction" value="" class="text ui-widget-content ui-corner-all" />
         </fieldset>
        </form>

        <p class="validateTips">验证消息 here！</p>
    </div>

    <div>
        操作面板
        <br>
        <br>
        <br>
        <button name="employeeAdd">
            添加</button>
        <br>
        <br>
        <button name="employeeDel">
            删除</button>
        <br>
        <br>
        <button name="employeeRefresh">
            刷新</button>
    </div>
}
@section SectionContent{
    <div id="employeesGrid">
    </div>
}
